/**
 * Copyright By Grandsoft Company Limited. 
 * @author zhaoxj
 * @date 2015年7月16日
 */
package org.suren.littlebird.editors;

import org.eclipse.core.resources.IStorage;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IPersistableElement;
import org.eclipse.ui.IStorageEditorInput;

/**
 * @author zhaoxj
 * 
 * @2015年7月16日
 */
public class BundleEditorInput implements IStorageEditorInput {
	
	private BundleStorage bundleStorage;
	
	/*
	 * 
	 */
	@Override
	public boolean exists() {
		// TODO Auto-generated method stub
		return false;
	}

	/*
	 * 
	 */
	@Override
	public ImageDescriptor getImageDescriptor() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * 
	 */
	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * 
	 */
	@Override
	public IPersistableElement getPersistable() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * 
	 */
	@Override
	public String getToolTipText() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * 
	 */
	@Override
	public Object getAdapter(Class arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * 
	 */
	@Override
	public IStorage getStorage() throws CoreException {
		return getBundleStorage();
	}

	public BundleStorage getBundleStorage() {
		return bundleStorage;
	}

	public void setBundleStorage(BundleStorage bundleStorage) {
		this.bundleStorage = bundleStorage;
	}

}
